<div class="queue"> 
  
  <div class="queueBox">
    <template [ngIf]="shapes?.length">
      <th-tetrimino *ngFor="let shape of shapes;let i=index"
        [shape]="shape" [x]="getX(shape)" [y]="i * 3 + 1">
       </th-tetrimino>
    </template>
    <div class="queueBorder"></div>
  </div>
</div>